//
//  AppDelegate.swift
//  NyamanDana
//
//  Created by 李永彬 on 2025/10/9.
//

import SwiftUI

// AppDelegate 用于 iOS 14 兼容
class AppDelegate: NSObject, UIApplicationDelegate {
    func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
        let configuration = UISceneConfiguration(name: nil, sessionRole: connectingSceneSession.role)
        configuration.delegateClass = SceneDelegate.self
        return configuration
    }
}
